package org.pearl.thread.demo.test002;

import org.openjdk.jol.info.ClassLayout;

/**
 * Created by TD on 2021/4/15
 */
public class ObjectTest001 {
    public static void main(String[] args) {
        User user = new User();
        user.eat("香菜");
        //System.out.println(user.hashCode());
        String printable = ClassLayout.parseInstance(user).toPrintable();
        System.out.println(printable);
    }
}
